<template>
  <el-config-provider :locale= "locale">
    <!-- <el-message> -->
      <router-view/>
    <!-- </el-message> -->
  </el-config-provider> 
  
</template>

<script setup lang="ts">
import { RouterView } from 'vue-router'
import { ElMessage } from "element-plus";
import zhCn from "element-plus/es/locale/lang/zh-cn"; // 导入中文语言包

// 使用 Element Plus 提供的全局配置
const locale = zhCn;



</script>

<style scoped>
.el-config-provider {
  width: 100%;
  height: 100%;
}
</style>
